<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:http="http://www.w3.org/1999/xhtml"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">

<head th:replace="common/headcss :: headcss"></head>

<body style="background:linear-gradient(rgba(166, 222, 111, 0.25), rgba(166, 222, 111, 0.25)), url('/static/assets/img/cloud.png') no-repeat;background-size: 100%;">

<div th:replace="common/nav :: nav"></div>
<section class="page-section clearfix">
    <div class="container">
        <div class="modal-dialog" style="margin-top: 10%;">
            <div class="modal-content">
                <div class="modal-header">
                    <h2 class="modal-title text-center" id="myModalLabel">登录窗口</h2>
                </div>
                <form method="post" action="/login/auth">
                    <div class="modal-body" id="model-body">
                        <div class="form-group">
                            <input type="text" name="stunum" class="form-control" placeholder="请输入你的学号（字母不区分大小写）"
                                   autocomplete="off" required>
                        </div>
                        <div class="form-group">
                            <input type="password" name="password" class="form-control" placeholder="请输入你的密码"
                                   autocomplete="off" required>
                        </div>
                    </div>
                    <div class="modal-footer">
                        <div class="form-group">
                            <button type="submit" class="btn btn-primary form-control">登录</button>
                        </div>
                        <div class="form-group">
                            <button type="button" class="btn btn-default form-control"><a href="/regist">注册</a></button>
                        </div>
                    </div>
                </form>
            </div><!-- /.modal-content -->
        </div><!-- /.modal -->
    </div>
</section>

<div th:replace="common/footer :: footer"></div>
<div th:replace="common/footerscript :: footerscript"></div>
</body>

</html>